<include file="Public:header" />
<load href="__JS__/upload/uploadify.css" />
<load href="__JS__/swfobject.js" />
<script type="text/javascript" src="/Public/js/jquery.uploadify.v2.1.4.min.js"></script> 
<div class="content">
<!-----------------------------------------内容开始--------------------------------------------------->
<div class="infoBox">
<form name="form" action="{:U('dowzsm')}" method="post" onsubmit="return checkform();">
<eq name='type' value='edit'><input type="hidden" name="id" value="{$id}" /></eq>


<table width="100%" border="0" cellpadding="0" cellspacing="0" id="basic">
<tr>
<td width="11%" class="infoBoxTd">标题：</td>
<td colspan="2"><INPUT name="name" value="{$name}" class="formTitle" size="40"></td>
</tr>


<tr>
    <td class="infoBoxTd">内容：</td>
    <td><textarea id="content" name="content" style="width:650px;height:200px;">{$content|stripslashes}</textarea></td>
</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxTd">&nbsp;</td>
<td align="left"><input type="submit" name="Button1" value="保存" class="formInput01" /></td>
</tr>
</table>
</form>
</div>
<!-----------------------------------------内容结束--------------------------------------------------->
</div>
<script language="javascript">
var k1;
KindEditor.ready(function(K) {
	k1 = K.create('#content', {
		allowFileManager : true
	});
});

function check(){
if($('input[name="title"]').val() == ''){
		ui.error('请填写标题');
		$('input[name="title"]').focus();
		return false;
	}
}
</script>
    

<include file="Public:footer" />
